import request from '@/api/index'
import qs from 'qs'

/**
 * 未登录请求
 */
export function POST(params,data) {
    console.log(data)
    return request({
        url: params,
        method: 'POST',
        data: qs.stringify(data),
        headers: {
            "Content-Type":"application/x-www-form-urlencoded"
        }
    }).then(res=>{
        return res.data
    })
}